using UnityEngine;
using System.Collections;

public class MaterialScript : MonoBehaviour
{
	//Global variables
	private CameraScript cameraScript;
	private GameObject playerChar;
	private GameObject playerLights;
	
	// Use this for initialization
	void Start()
	{
		playerChar = cameraScript.playerCharacter;
		playerLights = cameraScript.playerLight;	
	}
	
	// Update is called once per frame
	void Update()
	{
		
	}
	
	//FixedUpdate is called once per physics step
	void FixedUpdate()
	{
		
		
		
		playerLights.transform.position = playerChar.transform.position;
	}
}
